	














/* 全部动态 */
	function allShared(){
		var options = {
    			url: "/share/allShare",
    			method: 'post',
			    success: function (data) {
			    	console.info(data);
 			    	var po1 = "";
			    	for (var i = 0; i < data.length; i++) {
			    		po1 += '<div class="layui-row layui-col-space15">'
							+'<div class="layui-col-md6">'
							+'<div class="layui-card">'
							+'<div class="layui-card-header">'
							+'<span>'+data[i].name+'</span>&nbsp;'
							+'<span style="font-size: 10px;color: #a4a4a4;line-height: normal;">'+data[i].createDate+'</span>'
							+'</div>'
							+'<div class="layui-card-body">'+data[i].content+'</div>'
							+'<div class="layui-card-header" style="border-top: 0.5px solid #f4f4f4;height: 90px;">'
							+'<div class="comment_l">'
							+'<span style="font-size: 12px;color: #5b5b5b;">昵称：</span>&nbsp;'
							+'<span style="font-size: 12px;color: #5b5b5b;">评论内容</span>'
							+'</div>'
							+'<div class="layui-input-block" style="margin-left:0;width: 80%;float: left;">'
							+'<textarea placeholder="评论" class="layui-textarea" name="desc" style="min-height: auto;height: 34px;font-size: 12px"></textarea>'
							+'</div>'
							+'<div class="layui-form-item" style="width: 20%;text-align: center;float: right;clear: initial;">'
							+'<div class="layui-input-block" style="margin-left:0;">'
							+'<button class="layui-btn" lay-submit="" lay-filter="demo1" style="width: 90%;float: right;height: 34px;line-height:34px;">发表</button>'
							+'</div>'
							+'</div>'
							+'</div>'
							+'</div>'
							+'</div>'
							+'</div>';
					}
			    	$("#contents").html(po1);
			    }
    	};
    	$.ajax(options);
	}